package org.example.project_12.dto;

public class CreateDocumentDto {
    private String title;
    private String content;
    private Long spaceId;
    private Boolean isPublic;

    public CreateDocumentDto() {}

    public CreateDocumentDto(String title, String content, Long spaceId, Boolean isPublic) {
        this.title = title;
        this.content = content;
        this.spaceId = spaceId;
        this.isPublic = isPublic;
    }

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public Long getSpaceId() { return spaceId; }
    public void setSpaceId(Long spaceId) { this.spaceId = spaceId; }
    public Boolean getIsPublic() { return isPublic; }
    public void setIsPublic(Boolean isPublic) { this.isPublic = isPublic; }
} 